package at.fhooe.im440.pandora.logic.entities;

import java.awt.Graphics2D;
import java.awt.geom.Point2D;

import at.fhooe.im440.core.Core;
import at.fhooe.im440.pandora.events.Event;
import at.fhooe.im440.pandora.graphic.GameGraphic;

public abstract class Entity {

	private String name;
	protected Core core;
	protected GameGraphic gameGraphic;

	public Entity(String name, Core c ) {
		this.name = name;
		this.core = c;
	}

	public abstract Point2D getPosition();

	public void update() {
		
	};

	public String getName() {
		return name;
	}

	public void render(Graphics2D g) {
		gameGraphic.draw(g);
	}
	
	
	

	public abstract void notify(Event e);
	
}
// Visuals: drehen, posi
// Entity- Position in meiner Welt
// View - Benutzerschnittschnell, hat gui elem. 